﻿<%@ Control Language="vb" AutoEventWireup="false" Explicit="true" codefile="FeedBackAlert.ascx.vb" Inherits="NVPortal.Modules.NVNews.newsFeedBackAdminTopdisLike" %>
<script type="text/javascript" language="JavaScript" src="../../../../js/NVCorp.js"></script>
<style type="text/css">
.topnews_titlesssss:link, .topnews_titlesssss:visited {
font-size: 11px; color:#b90000; font-family:Tahoma;
}
.topnews_titlesssss:hover {
font-size: 11px; color:#434343;text-decoration: none;font-family:Tahoma;
}

.tab-box { 
  border-bottom: 1px solid #DDD;
  padding-bottom:5px;
}
.tab-box a {
  border:1px solid #DDD;
  color:#666666;
  padding: 5px 15px;
  text-decoration:none;
  background-color: #eee;
}
.tab-box a.activeLink { 
  background-color: #fff; 
  border-bottom: 0; 
  padding: 6px 15px;
}
.tabcontent { border: 1px solid #ddd; border-top: 0;}
.hide { display: none;}
</style>
<script type="text/javascript">
    $(document).ready(function () {
        $(".tabLink").each(function () {
            $(this).click(function () {
                tabeId = $(this).attr('id');
                $(".tabLink").removeClass("activeLink");
                $(this).addClass("activeLink");
                $(".tabcontent").addClass("hide");
                $("#" + tabeId + "-1").removeClass("hide")
                return false;
            });
        });
    });
</script><br />
<div class="tab-box"> 
    <a href="javascript:;" class="tabLink activeLink" id="cont-1">Duyệt bình luận</a> 
    <a href="javascript:;" class="tabLink " id="cont-2">Xem các bài đã duyệt</a> 
  </div>
  
  <div class="tabcontent paddingAll" id="cont-1-1"> 
    <table style="width: 100%; border: 0px" cellpadding="0" cellspacing="0">
            <tr>
                <td style="height: 30px; background:#d3d3d3; border: solid 1px white; border-bottom: solid 1px white;">
                    Chọn 
                    <asp:CheckBox ID="CheckBox1" runat="server" /> để 
                    <asp:LinkButton CssClass="SubHead" ID="lbtUpdate" runat="server"><span style="padding: 5px;  background: #335de6; font-weight: bold; font-family: Tahoma; font-size: 12px; color: Black;">Duyệt bình luận</span></asp:LinkButton> hoặc 
                    <asp:LinkButton CssClass="SubHead" ID="lbtDelFeedback" runat="server" OnClientClick="javascript: return confirm('Bạn có muốn xoá các tin được đánh dấu không?');"><span style="padding: 5px;  background: #e63333; font-weight: bold; font-family: Tahoma; font-size: 12px; color: yellow;">Xoá bình luận</span></asp:LinkButton>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:DataGrid DataKeyField ='NewsFeedbackId' id="drgFeedBackNewsAdmin" runat="server" AutoGenerateColumns="False" Width="100%" BackColor="White" BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px" CellPadding="4">
                        <Columns>
                            <asp:TemplateColumn>
	                            <HeaderTemplate>
                                    <asp:CheckBox ID="chkItemsTop" runat="server" />
	                            </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:CheckBox ID="chkItems" runat="server" />
                                </ItemTemplate>
                                <ItemStyle Width="20" />
                            </asp:TemplateColumn>
                            <asp:TemplateColumn HeaderText="Bài viết">
                                <ItemTemplate>
                                    <asp:HyperLink runat="server" Target=_blank Font-Names="tahoma" Font-Size="11px" ForeColor="#a50004" ID="NewsFeedTitlelink" Text='<%# GetTitleNews(Eval("Newsid")).Title %>' NavigateUrl='<%# "/noidung/" & DataBinder.Eval(Container.DataItem,"newsid") & "/index.htm" %>'></asp:HyperLink>
                                </ItemTemplate>
                                <ItemStyle Width="200" />
                            </asp:TemplateColumn>
                            <asp:TemplateColumn HeaderText="Người gửi">
                                <ItemTemplate>
                                    <asp:Label ID="Label1" Font-Names="tahoma" Font-Size="11px" ForeColor="#434343" runat="server" Text='<%# Databinder.eval(Container.Dataitem,"FullName") %>'></asp:Label>
                                </ItemTemplate>
                                <ItemStyle Width="100" />
                            </asp:TemplateColumn>
                            <asp:TemplateColumn HeaderText="Nội dung">
                                <ItemTemplate>
                                    <asp:Label ID="Label4" Font-Names="tahoma" Font-Size="11px" ForeColor="#434343" runat="server" Text='<%# Server.HTMLDecode(Databinder.eval(Container.Dataitem,"Content")) %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateColumn>
                        </Columns>
                        <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
                        <SelectedItemStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
                        <PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
                        <ItemStyle BackColor="White" ForeColor="#330099" />
                        <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" Font-Size="11px" />
                    </asp:DataGrid>
                </td>
            </tr>
        </table>
  </div>
  
  <div class="tabcontent paddingAll hide" id="cont-2-1"> 
    <table style="width: 100%; border: 0px" cellpadding="0" cellspacing="0">
            <tr>
                <td style="height: 30px; background:#d3d3d3; border: solid 1px white; border-bottom: solid 1px white;">
                    Chọn 
                    <asp:CheckBox ID="CheckBox2" runat="server" /> để 
                    <asp:LinkButton CssClass="SubHead" ID="lbtDelFeedback2" runat="server" OnClientClick="javascript: return confirm('Bạn có muốn xoá các tin được đánh dấu không?');"><span style="padding: 5px;  background: #e63333; font-weight: bold; font-family: Tahoma; font-size: 12px; color: yellow;">Xoá bình luận</span></asp:LinkButton>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:DataGrid DataKeyField ='NewsFeedbackId' id="DataGrid1" runat="server" AutoGenerateColumns="False" Width="100%" BackColor="White" BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px" CellPadding="4">
                        <Columns>
                            <asp:TemplateColumn>
	                            <HeaderTemplate>
                                    <asp:CheckBox ID="chkItemsTop" runat="server" />
	                            </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:CheckBox ID="chkItems" runat="server" />
                                </ItemTemplate>
                                <ItemStyle Width="20" />
                            </asp:TemplateColumn>
                            <asp:TemplateColumn HeaderText="Bài viết">
                                <ItemTemplate>
                                    <asp:HyperLink runat="server" Target=_blank Font-Names="tahoma" Font-Size="11px" ForeColor="#a50004" ID="NewsFeedTitlelink" Text='<%# GetTitleNews(Eval("Newsid")).Title %>' NavigateUrl='<%# "/noidung/" & DataBinder.Eval(Container.DataItem,"newsid") & "/index.htm" %>'></asp:HyperLink>
                                </ItemTemplate>
                                <ItemStyle Width="200" />
                            </asp:TemplateColumn>
                            <asp:TemplateColumn HeaderText="Người gửi">
                                <ItemTemplate>
                                    <asp:Label ID="Label1" Font-Names="tahoma" Font-Size="11px" ForeColor="#434343" runat="server" Text='<%# Databinder.eval(Container.Dataitem,"FullName") %>'></asp:Label>
                                </ItemTemplate>
                                <ItemStyle Width="100" />
                            </asp:TemplateColumn>
                            <asp:TemplateColumn HeaderText="Nội dung">
                                <ItemTemplate>
                                    <asp:Label ID="Label3" Font-Names="tahoma" Font-Size="11px" ForeColor="#434343" runat="server" Text='<%# Server.HTMLDecode(Databinder.eval(Container.Dataitem,"Content")) %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateColumn>
                        </Columns>
                        <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
                        <SelectedItemStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
                        <PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
                        <ItemStyle BackColor="White" ForeColor="#330099" />
                        <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
                    </asp:DataGrid>
                </td>
            </tr>
        </table>
  </div> 

        
        
   